package chapter01.principle.srp.improve;

class OrderCalculator {
    public void calculateTotal(Order order) { /* 计算逻辑 */ }
}

class OrderRepository {
    public void saveToDatabase(Order order) { /* 存储逻辑 */ }
}

class Order {

}
